import turtle
# 动态改变颜色
t = turtle.Pen()
colors = ['red', 'blue', 'green', 'yellow']
for x in range(100):
    t.pencolor(colors[x%4])
    t.circle(x)
    t.left(90)